package com.geekca.d5_enum;

public class TestSingle {
    public static void main(String[] args) {
        TaskManager instance1 = TaskManager.MY_INSTANCE;
        TaskManager instance2 = TaskManager.MY_INSTANCE;

        System.out.println("instance == instance2: " + (instance1 == instance2));
        System.out.println(instance1);
        System.out.println(instance2);
    }
}
